#include<stdio.h>

int main()
{
    int i;
    double total=0;
    for(i=0;i<5;i++)
    {
        total=(total+1000.0)/(1+0.0063*12);
    }
    printf("He must save %2f at first\n",total);
}